package com.atan.framework.biz.jackson.config;


import com.atan.framework.biz.jackson.util.JacksonConfig;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class JacksonAutoConfiguration {

    /**
     * 提供jackson配置
     *
     * @return
     */
    @Bean
    public ObjectMapper jacksonConfig() {
        return JacksonConfig.objectMapper();
    }
}
